//TABS

$(function () {

	$('#tabs').tabs();

});
  


//Calendars
$(function() {
	var dates = $('#from, #to').datepicker({
		defaultDate: "+1w",
		changeMonth: true,
		numberOfMonths: 3,
		onSelect: function(selectedDate) {
		var option = this.id == "from" ? "minDate" : "maxDate";
		var instance = $(this).data("datepicker");
		var date = $.datepicker.parseDate(instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings);
			dates.not(this).datepicker("option", option, date);
		}
	});
});



//
google.load("visualization", "1", {packages:["columnchart", "map"]});